package jdbc420.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:SA
 * @DATA:DATA
 */
@Data //get set toString
@AllArgsConstructor //有参构造
@NoArgsConstructor //无参构造
@Builder //构造者模式 可以进行链式的创建对象
public class User {
    private  int dept_no;
    private  String dept_name;
    private  String address;
}
